Skip to content

Wrap backend connection errors with backend information#613

Open
kailan wants to merge 1 commit intomainfrom
backend-error-info
Open

Wrap backend connection errors with backend information#613
kailan wants to merge 1 commit intomainfrom
backend-error-info

Conversation

@kailan
Copy link
Copy Markdown
Member

@kailan kailan commented Apr 24, 2026

This change wraps hyper::Error with extra backend context to provide information about which backend caused the failure. Resolves #429

ERROR viceroy_lib::upstream: Backend connection error for 'unreachable-backend' (http://192.0.2.1:9999/): error trying to connect:
tcp connect error: Operation timed out (os error 60)

@kailan kailan requested a review from a team April 24, 2026 15:23
@kailan kailan added the feature-ux Concerning ergonomics and ease-of-use label Apr 24, 2026
@kailan kailan force-pushed the backend-error-info branch from 2d4b5b3 to d370446 Compare April 24, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature-ux Concerning ergonomics and ease-of-use

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emit IP address on network errors

1 participant